#ifndef TILE_ATTRIBUTE_CHEST_H_INCLUDED_40310304
#define TILE_ATTRIBUTE_CHEST_H_INCLUDED_40310304
//-----------------------------------------------------------------------------
// Copyright (c) 2011 David Waby
// Initially created on 15/11/2011
//-----------------------------------------------------------------------------

#include "TileAttribute.h"
            
//-----------------------------------------------------------------------------
class TileAttributeChest : public TileAttribute
{
public:
									TileAttributeChest();
	virtual							~TileAttributeChest();

	virtual void					OnEnter();
	virtual void					Use();
	virtual void					OnExit();

	unsigned int					GetAttributeType() const;

	virtual void					Serialise(Json::Value * o_root) const;
	virtual void					Deserialise(Json::Value const * i_root);

protected:

private:

									TileAttributeChest(const TileAttributeChest &rhs);
	TileAttributeChest&				operator = (const TileAttributeChest &rhs);
};

//-----------------------------------------------------------------------------
#endif // TILE_ATTRIBUTE_CHEST_H_INCLUDED_40310304
